class HomeController < ApplicationController
    def index
      @booktables = Booktable.all

      if(session[:user_id])
      @user = User.find(session[:user_id])
    else
      @user = -1
    end
    end
end
